<?php
declare(strict_types=1);
namespace App\Queue\Process;

use Hyperf\AsyncQueue\Process\ConsumerProcess;
use Hyperf\Process\Annotation\Process;

/**
 * 订单接口日志
 * @Process(name="order-api-log-async-queue")
 */
class OrderApiLogQueueConsumer extends ConsumerProcess
{
    public function handle() : void
    {
        $result = $this->driver->consume();
        print_r($result);
    }
}